package com.kitty.listener.event;

import com.kitty.game.role.model.Role;
import com.kitty.listener.BasePlayerEvent;
import com.kitty.listener.EventType;
import lombok.Getter;

/**速度有改变 事件*/
@Getter
public class SpeedChangeEvent extends BasePlayerEvent {
    private Role role;
    /**改变后的速度值*/
    private int speed;

    public SpeedChangeEvent(EventType evtType, Role role, int speed) {
        super(evtType, role);
        this.role = role;
        this.speed = speed;
    }
}
